package com.bbs.common.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
 * @Author  linmengmeng
 * @Date 2020-11-09 11:35:59 
 */

@Entity
@Table ( name ="first_level_comments" , schema = "")
public class FirstLevelComments  implements Serializable {

	private static final long serialVersionUID =  7339478905645887448L;

	@Id
   	@Column(name = "id" )
	private Long id;

   	@Column(name = "article_id" )
	private Long articleId;

   	@Column(name = "user_id" )
	private Long userId;

   	@Column(name = "param_content" )
	private String paramContent;

   	@Column(name = "comment_time" )
	private Date commentTime;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getArticleId() {
		return this.articleId;
	}

	public void setArticleId(Long articleId) {
		this.articleId = articleId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getParamContent() {
		return this.paramContent;
	}

	public void setParamContent(String paramContent) {
		this.paramContent = paramContent;
	}

	public Date getCommentTime() {
		return this.commentTime;
	}

	public void setCommentTime(Date commentTime) {
		this.commentTime = commentTime;
	}

	@Override
	public String toString() {
		return "{" +
					"id='" + id + '\'' +
					"articleId='" + articleId + '\'' +
					"userId='" + userId + '\'' +
					"paramContent='" + paramContent + '\'' +
					"commentTime='" + commentTime + '\'' +
				'}';
	}

}
